package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.RolePms;
import com.san.hkhospital.entity.RolePmsExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:RolePmsMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface RolePmsMapper {
    long countByExample(RolePmsExample example);

    int deleteByExample(RolePmsExample example);

    int deleteByPrimaryKey(@Param("roleId") Integer roleId, @Param("pmsId") Integer pmsId);

    int insert(RolePms record);

    int insertSelective(RolePms record);

    List<RolePms> selectByExample(RolePmsExample example);

    int updateByExampleSelective(@Param("record") RolePms record, @Param("example") RolePmsExample example);

    int updateByExample(@Param("record") RolePms record, @Param("example") RolePmsExample example);
}